package com.wm.blog_admin.controller.resp;

import com.wm.blog_common.util.excel.ExcelCodeToString;
import com.wm.blog_common.util.excel.ExcelField;
import lombok.Data;

import java.util.Date;

/**
 * @author ：半卷流年
 * @description : 导出excel类
 * @createTime ：2020/6/7
 */
@Data
public class TagExportResp {

    /**
     * 缩略图
     */
    @ExcelField(name = "头像",isImage = true,downloadType = 2)
    private String avatar;

    @ExcelField(name = "标签名称")
    private  String content;

    @ExcelField(name = "点击数")
    private Integer clickCount;

    @ExcelField(name = "是否禁用")
    @ExcelCodeToString(values={"0:是","1:否"})
    private Integer status;

    @ExcelField(name = "创建时间")
    private Date createTime;

    @ExcelField(name = "修改时间")
    private Date updateTime;


}
